Page({
  data: {
    url: ""
  },
  onLoad: function (a) {
    if (a.url) this.setData({
      url: a.url
    });
    else {
      var r = $.router.getNavigateParams();
      if (r && r.url) this.setData({
        url: r.url || ""
      });
      else {
        var t = $.router.getParams().url;
        this.setData({
          url: t || ""
        })
      }
    }
    console.log($.router.getNavigateParams())
    var params = $.router.getNavigateParams()
    this.setData({
      url: params.url
    })
  }
});